const mongoose = require('mongoose')
const schema = mongoose.Schema({
  create_time: { type: Number, required: true }, // 创建时间
  type: { type: String, required: true }, // 显示类型
  name: { type: String, default: '' }, // 名称
  desc: { type: String, default: '' } // 备注
})

module.exports = mongoose.model('TagList', schema, 'tag-list')
